<div class="topbar">
	<div class="grid-990 topbar-wrap fn-clear">
    	<p class="toplink"></p>
    	<ul class="topmenu">
        	<li class="topmenu-item topmenu-item-first">
            	当前用户:{$_SESSION['session_email']}&nbsp;
                
                
                
            </li>
            
       
        
            <li class="topmenu-item topmenu-item-dropdown">
            	<a href="index.php?s=/Home/User/Console">我的FacesBaby<i class="icon-dropdown"></i></a>
                <ul class="fun-list">
                	<li class="fun-list-item">
                    	<a href="index.php?s=/Home/Albums/qiniupload">上传相片</a>
                    </li>
                	<li class="fun-list-item">
                    	<a href="index.php?s=/Home/Baby/Focus">我的关注</a>
                    </li>
                    <li class="fun-list-item">
                    	<a href="index.php?s=/Home/Albums/Photo">相片管理</a>
                    </li>
                    <li class="fun-list-item">
                    	<a href="index.php?s=/Home/User/Pwd">个人信息</a>
                    </li>
                    <li class="fun-list-item">
                    	<a href="index.php?s=/Home/User/Invite">发送邀请</a>
                    </li>
                    <li class="fun-list-item">
                    	<a href="/index.php?s=/Home/User/logout"><i class="icon-off"></i>退出系统
</a>
                    </li>
                </ul>
            </li>
            <li class="topmenu-item topmenu-item-last">
            	<a href="javascript:void(0)">帮助中心</a>
            </li>
        </ul>
    </div>
</div><!--end topbar-->
<div class="header-out"> 
<div id="FB_Notice" class="head-notice pa-head-notice fn-hide" style="border:1px solid #fce4b5;background-color:#fff7da;color:#e27839;font-weight:normal;">
      <div class="head-notice-content">
        OSChina-MoPaaS 应用开发大赛,请为我们<strong>FacesBaby</strong>投上宝贵的一票!<a href="http://www.oschina.net/mopaas-app-contest" style="padding:0 5px;color:#1589c9;" target="_blank">前往投票</a>      </div>
    </div><!--end Notice-->

<?php
if($_SESSION['session_is_active_email']==0){
//判断账号是否邮箱
if(justiceUType($_SESSION['session_username'])=='email'){
$mail_arr = explode('@',$_SESSION['session_username']);
?>
<script type="text/javascript">
function resendMail(){
	$.ajax({
		url:'index.php?s=/Home/Email/postMail/',
		type:'POST',
		dataType:'text',
		success:function(data){
			if(data=="success"){
				$('#vmail-1').show();
				$('#vmail-2').hide();
				$('#info_send').html('邮件发送成功!');
			}
		}
	});	
}
</script>
<div class="alert pa-head-notice" style="margin-top:6px;">
<div id="vmail-1">
<strong>验证邮箱：</strong>请访问你的邮箱 {$_SESSION['session_username']} 查收邮件，完成帐户验证。&nbsp;

<a href="http://www.<?php echo $mail_arr[1];?>" target="_blank">马上查看邮件</a>&nbsp;&nbsp;
<a onclick="$('#vmail-2').show();$('#vmail-1').hide()" href="javascript:void(0)">没有收到邮件</a>
<span id="info_send"></span>
</div>

<div id="vmail-2" style="display:none">
<strong>没有收到邮件？</strong> <a onclick="resendMail()" href="javascript:void(0)">重新发送邮件</a>
</div>

</div>
<?php
}
}
?>    
   
<div class="grid-990 header-wrap fn-clear">
	<div id="fb-img-logo" class="fn-left">
    	<a href="/" class="ui-logo-fb">FacesBaby</a>
    </div>

</div>
</div>
<!--header-wrap-->